package com.twu.biblioteca.commands;


import java.util.Vector;

public class AllCommands {
    private Vector<ICommand> commands;

    public AllCommands() {
        this.commands = new Vector<ICommand>();
    }

    public void addCommand(ICommand command) {
        this.commands.addElement(command);
    }

    public Vector<ICommand> getCommands() {
        return this.commands;
    }

    public String getCommandDescription(int index) {
        return this.commands.elementAt(index).toString();
    }
}
